The Simon's Quest "Ruby Script" Password Generator
Written by: Phil H. Smith


This file doesn't actually need the rom image.  Instead, it can be run alone, sort of like a .exe or a DOS .com script.

It doesn't have any windows or graphical interface, unfortunately.  That's why it needs the Command Prompt to work.  
You tell the file (called "castlevania2," with no extension) what you want by passing in a list of options / switches when you run it.  
Then it prints out a matching password and quits.  As an example, once it is set up you could type on the command prompt something like 
"ruby castlevania2 --level 6 --whip 3 --rib" and it would spit out "OZKQ EPQ1 WH5C R5QA," which should start you at level 6 with the 4th 
whip (and not the 3rd, since the whip's default value is 0) and dracula's rib (but nothing else).


The list of switches that you could pass are printed out when you pass "--help", but here they are for kicks:

        --level L                    Start with level L
        --whip W                     Start with whip W
        --laurels L                  Start with L laurels
        --garlics G                  Start with G garlics
        --day D                      Start with D day
        --holy-water                 Start with the holy water
        --diamond                    Start with the diamond
        --holy-flame                 Start with the holy flame
        --oak-stake                  Start with the oak stake
        --rib                        Start with the rib
        --heart                      Start with the heart
        --eye                        Start with the eye
        --nail                       Start with the nail
        --ring                       Start with the ring
        --magic-cross                Start with the magic cross
        --silk-bag                   Start with the silk bag
        --dagger                     Start with the dagger
        --silver-dagger              Start with the silver dagger
        --golden-dagger              Start with the golden dagger
        --white-crystal              Start with the white crystal
        --blue-crystal               Start with the blue crystal
        --red-crystal                Start with the red crystal
        --frame F                    Randomize with frame F (you don't care)
    -h, --help                       Show this message
